package com.wly.frame

import android.content.Context
import android.content.Intent
import com.wly.frame.mvvm.BaseMVVMActivity
import com.wly.frame.mvvm.base.BaseViewModel
import com.wly.frame.databinding.ActivityMvvmBinding

/**
 * author: wangliyun
 * date: 2022/3/24
 * description:
 */
class MVVMTestActivity:BaseMVVMActivity<BaseViewModel,ActivityMvvmBinding>(){

    companion object{
        fun start(context: Context){
            val intent = Intent(context,MVVMTestActivity::class.java)
            context.startActivity(intent)
        }
    }

    override fun getLayoutRes() = R.layout.activity_mvvm

    override fun initObserver() {

    }


    override fun initView() {
        super.initView()
    }

    override fun initData() {
        mViewDataBinding.tvTestMsg.text = "Hello World!!!!!"
    }

}